package com.burgeon.backend.service;

import com.burgeon.backend.entity.MyStore;
import com.burgeon.backend.entity.Store;
import com.burgeon.backend.service.ex.LoadingException;
import com.burgeon.backend.service.ex.UploadException;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;


public interface StoreService {

    ArrayList<Store> GetStoreAll(String account);

    HashMap GetInfo(String account,String id);

    void UploadData(MultipartFile file,String account,String store,String id,String map) throws UploadException;

    void SyncStore(String account) throws LoadingException;

    HashMap GetStoreData(String account, String start) throws LoadingException;

    HashMap FindStoreData(String account, String start,String message) throws LoadingException;

    //*******************************************

    List<MyStore> GetStore(String token,String city);

    HashMap GetStoreByCity(String city,String token);

}
